function exercise2a(m) %m ist ?

x = zeros(m);
y = zeros(m);

for i = 1:m
    x(i) = kNN(i);
    y(i) = i;
end;

plot(y,x);